package com.wlr.study.leetcode.lrulfu;

/**
 * 双向链表
 */
public class DoubleLinkedList {
    public int key;
    public int value;
    public DoubleLinkedList pre;
    public DoubleLinkedList next;

    public DoubleLinkedList() {
    }

    public DoubleLinkedList(int key, int value) {
        this.key = key;
        this.value = value;
    }

    public DoubleLinkedList(int key, int value, DoubleLinkedList pre, DoubleLinkedList next) {
        this.key = key;
        this.value = value;
        this.pre = pre;
        this.next = next;
    }


}
